<!DOCTYPE html>
<html>
<head>
<title>{$site_name}</title>
<meta name="keywords" content="{$site_seo_keywords}" />
<meta name="description" content="{$site_seo_description}">
<meta name="author" content="ThinkCMF">
<tc_include file="Public:head" />
<load href="__TMPL__Public/assets/css/newstyle.css"/>
</head>
<body class="boxed" id="top">
	<div class="body">
		<!-- 通用头部 -->
		<div id="top"><tc_include file="Public:front_nav" /></div>
		<div class="shade-bg">
			<img src="__TMPL__Public/front/img/sha.png" class="slidershadow" alt="">
		</div>

		<div class="container tc-main page-minht">
		<div class="row">
			<div class="col-sm-3 pad-left">
				<tc_include file="Public:usernav"/>
			</div>
			<div class="col-sm-9 pad-right">
			   <div class="tabs">
				   <ul class="nav nav-tabs">
					   <li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-list-alt"></i> 修改资料</a></li>
				   </ul>
				   <div class="tab-content">
					   <div class="tab-pane active" id="one" style="padding-top:20px">
							<form class="form-horizontal js-ajax-form" action="{:U('profile/edit_post')}" method="post">
								<div class="form-group">
									<label class="col-sm-2 control-label" for="input-user_nicename">昵称&nbsp;&nbsp;</label>
									<div class="col-sm-8">
									<input type="text" class="form-control" id="input-user_nicename" placeholder="昵称" name="user_nicename" value="{$user_nicename}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label" for="input-sex">性别&nbsp;&nbsp;</label>
									<php>
									$sexs=array("0"=>"保密","1"=>"男","2"=>"女");
									</php>
									<div class="col-sm-8">
										<select id="input-sex" class="form-control" name="sex">
											<foreach name="sexs" item="vo">
											<php>$sexselected=$key==$sex?"selected":"";</php>
												<option value="{$key}" {$sexselected}>{$vo}</option>
											</foreach>
										</select>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label" for="input-birthday">生日&nbsp;&nbsp;</label>
									<div class="col-sm-8">
										<input class="js-date form-control" type="text" id="input-birthday" placeholder="2013-01-04" name="birthday" value="{$birthday}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label" for="input-user_url">个人网址&nbsp;&nbsp;</label>
									<div class="col-sm-8">
										<input class="form-control" type="text" id="input-user_url" placeholder="http://thinkcmf.com" name="user_url" value="{$user_url}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label" for="input-signature">个性签名&nbsp;&nbsp;</label>
									<div class="col-sm-8">
										<textarea class="form-control" id="input-signature" placeholder="个性签名" name="signature">{$signature}</textarea>
									</div>
								</div>
								<div class="form-group">							
									<div class="col-sm-8 col-sm-offset-2">
										<button type="submit" class="btn btn-primary js-ajax-submit">
											<span class="glyphicon glyphicon-ok"></span>&nbsp;保存
										</button>
									</div>
								</div>
							</form>
					   </div>
				   </div>							
			   </div>
			</div>
		</div>
	</div>
	<tc_include file="Public:footer" />
	<!-- /container -->
</div>
	<tc_include file="Public:scripts" />
</body>
</html>